[INFO] fetching crate ejni 0.1.0...
[INFO] checking ejni-0.1.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate ejni 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate ejni 0.1.0
[INFO] finished tweaking crates.io crate ejni 0.1.0
[INFO] tweaked toml for crates.io crate ejni 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ejni 0.1.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 28 packages to latest compatible versions
[INFO] [stderr]       Adding jni v0.19.0 (available: v0.21.1)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.16)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77437f320c57fcbd97463f9f314983ac6c18b17d2fe1a37be5a1285a573797e9
[INFO] running `Command { std: "docker" "start" "-a" "77437f320c57fcbd97463f9f314983ac6c18b17d2fe1a37be5a1285a573797e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77437f320c57fcbd97463f9f314983ac6c18b17d2fe1a37be5a1285a573797e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77437f320c57fcbd97463f9f314983ac6c18b17d2fe1a37be5a1285a573797e9", kill_on_drop: false }`
[INFO] [stdout] 77437f320c57fcbd97463f9f314983ac6c18b17d2fe1a37be5a1285a573797e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c771f9ea59e7c322659600508cc8dd77386ce538e2e22909fa14cce3f8a1ac9
[INFO] running `Command { std: "docker" "start" "-a" "3c771f9ea59e7c322659600508cc8dd77386ce538e2e22909fa14cce3f8a1ac9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling jni v0.19.0
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking ejni v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:249:21
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn get_byte(&self) -> PrimitiveResult<u8> {
[INFO] [stdout]     |                     ^^^^^     ------------------- the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn get_byte(&self) -> PrimitiveResult<'_, u8> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn get_long(&self) -> PrimitiveResult<i64> {
[INFO] [stdout]     |                     ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn get_long(&self) -> PrimitiveResult<'_, i64> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:281:24
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_integer(&self) -> PrimitiveResult<i32> {
[INFO] [stdout]     |                        ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_integer(&self) -> PrimitiveResult<'_, i32> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:297:22
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get_float(&self) -> PrimitiveResult<f32> {
[INFO] [stdout]     |                      ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get_float(&self) -> PrimitiveResult<'_, f32> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:313:23
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub fn get_double(&self) -> PrimitiveResult<f64> {
[INFO] [stdout]     |                       ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub fn get_double(&self) -> PrimitiveResult<'_, f64> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:329:24
[INFO] [stdout]     |
[INFO] [stdout] 329 |     pub fn get_boolean(&self) -> PrimitiveResult<bool> {
[INFO] [stdout]     |                        ^^^^^     --------------------- the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 329 |     pub fn get_boolean(&self) -> PrimitiveResult<'_, bool> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:346:21
[INFO] [stdout]     |
[INFO] [stdout] 346 |     pub fn get_char(&self) -> PrimitiveResult<u16> {
[INFO] [stdout]     |                     ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 346 |     pub fn get_char(&self) -> PrimitiveResult<'_, u16> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/object.rs:362:22
[INFO] [stdout]     |
[INFO] [stdout] 362 |     pub fn get_short(&self) -> PrimitiveResult<i16> {
[INFO] [stdout]     |                      ^^^^^     -------------------- the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 362 |     pub fn get_short(&self) -> PrimitiveResult<'_, i16> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/abstractions/iterator.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn to_vec(&self) -> Result<Vec<Object>> {
[INFO] [stdout]    |                   ^^^^^                ------ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn to_vec(&self) -> Result<Vec<Object<'_>>> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `jvm` does not live long enough
[INFO] [stdout]    --> src/abstractions/list.rs:232:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let jvm = JVM.lock().unwrap();
[INFO] [stdout]     |             --- binding `jvm` declared here
[INFO] [stdout] 232 |         let env = jvm.attach_current_thread().unwrap();
[INFO] [stdout]     |                   ^^^ borrowed value does not live long enough
[INFO] [stdout] 233 |         assert!(List::arraylist(&env, Class::Object(&env).unwrap()).is_ok())
[INFO] [stdout]     |                 --------------------------------------------------- a temporary with access to the borrow is created here ...
[INFO] [stdout] 234 |     }
[INFO] [stdout]     |     -
[INFO] [stdout]     |     |
[INFO] [stdout]     |     `jvm` dropped here while still borrowed
[INFO] [stdout]     |     ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<list::List<'_>, jni::errors::Error>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]     |
[INFO] [stdout] 233 |         assert!(List::arraylist(&env, Class::Object(&env).unwrap()).is_ok());
[INFO] [stdout]     |                                                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `env` does not live long enough
[INFO] [stdout]    --> src/abstractions/list.rs:233:33
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let env = jvm.attach_current_thread().unwrap();
[INFO] [stdout]     |             --- binding `env` declared here
[INFO] [stdout] 233 |         assert!(List::arraylist(&env, Class::Object(&env).unwrap()).is_ok())
[INFO] [stdout]     |                 ----------------^^^^-------------------------------
[INFO] [stdout]     |                 |               |
[INFO] [stdout]     |                 |               borrowed value does not live long enough
[INFO] [stdout]     |                 a temporary with access to the borrow is created here ...
[INFO] [stdout] 234 |     }
[INFO] [stdout]     |     -
[INFO] [stdout]     |     |
[INFO] [stdout]     |     `env` dropped here while still borrowed
[INFO] [stdout]     |     ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<list::List<'_>, jni::errors::Error>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]     |
[INFO] [stdout] 233 |         assert!(List::arraylist(&env, Class::Object(&env).unwrap()).is_ok());
[INFO] [stdout]     |                                                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ejni` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "3c771f9ea59e7c322659600508cc8dd77386ce538e2e22909fa14cce3f8a1ac9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c771f9ea59e7c322659600508cc8dd77386ce538e2e22909fa14cce3f8a1ac9", kill_on_drop: false }`
[INFO] [stdout] 3c771f9ea59e7c322659600508cc8dd77386ce538e2e22909fa14cce3f8a1ac9
